/**
 * 
 */
package name.yzhu.wbdata.weibo;

import name.yzhu.common.conf.PropertyConfig;
import name.yzhu.common.service.Stoppable;
import name.yzhu.wbdata.io.PersistHBase;

import org.apache.hadoop.conf.Configuration;

/**
 * @author yhzhu
 *
 */
public class WeiboHbaseService extends WeiboService {
	private Configuration hbaseCFG = null;

	public WeiboHbaseService(Stoppable s, PropertyConfig cfg,
			Configuration hbaseCFG) {
		super(s, cfg);
		this.hbaseCFG = hbaseCFG;
	}

	@Override
	protected void initPersist() {
		yaml = new PersistHBase(cfg, hbaseCFG, stop);
	}

}
